import SvgIcon from "@/components/SvgIcon";
// 分页组件
import Pagination from "@/components/Pagination";
// 自定义表格工具组件
import RightToolbar from "@/components/RightToolbar";
// 富文本组件
import Editor from "@/components/Editor";
// 文件上传组件
import FileUpload from "@/components/FileUpload";
// 图片上传组件
import ImageUpload from "@/components/ImageUpload";
// 图片预览组件
import ImagePreview from "@/components/ImagePreview";
// 自定义树选择组件
import TreeSelect from "@/components/TreeSelect";
// 字典标签组件
import DictTag from "@/components/DictTag";
import TitieView from "@/components/TitleView";
import CustomTitle from "@/components/CustomTitle"

import Tip from "@/components/customerComponents/Tip.vue";
import Ellipsis from "@/components/customerComponents/Ellipsis.vue";
import WDialog from "@/components/customerComponents/WDialog.vue";

export default app => {
  app.component("svg-icon", SvgIcon);
  app.component("pagination", Pagination);
  app.component("right-toolbar", RightToolbar);
  app.component("editor", Editor);
  app.component("file-upload", FileUpload);
  app.component("image-upload", ImageUpload);
  app.component("image-preview", ImagePreview);
  app.component("tree-select", TreeSelect);
  app.component("dict-tag", DictTag);
  app.component("title-view", TitieView);
  app.component("tip", Tip);
  app.component("ellipsis", Ellipsis);
  app.component("w-dialog", WDialog);
  app.component("CustomTitle", CustomTitle);
};
